<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:61:"E:\xampp\htdocs\yicai\public/../app/home\view\mine\index.html";i:1516007697;s:61:"E:\xampp\htdocs\yicai\public/../app/home\view\common\nav.html";i:1515072480;}*/ ?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="shortcut icon" href="__IMG__/favicon.ico" />
		<link rel="bookmark" href="__IMG__/favicon.ico" type="image/x-icon" 　/>
		<title>个人中心</title>
		<link rel="stylesheet" type="text/css" href="__CSS__/mui.min.css"/>
		<link rel="stylesheet" type="text/css" href="__CSS__/common.css"/>
		<link rel="stylesheet" type="text/css" href="__CSS__/index.css"/>
		<script src="__JS__/mui.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" charset="utf-8">
	      	mui.init();
        </script>
	</head>
	<body >
		<header class="mui-bar mui-bar-nav">
		    <h1 class="mui-title">个人中心</h1>
		    <a href="<?php echo url('mine/service'); ?>" class="right sever_box"><img class="width_100 mg_top5" src="__IMG__/icon_service.png" alt="" /></a>
		</header>
		<nav class="mui-bar mui-bar-tab">
    <a class="mui-tab-item1 <?php if($controllerName=='index'): ?>mui-active<?php endif; ?>" href="<?php echo url('index/index'); ?>">
        <?php if($controllerName=='index'): ?>
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_01b.png"/></span>
        <?php else: ?>
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_01.png"/></span>
        <?php endif; ?>
        <span class="mui-tab-label">首页</span>
    </a>
    <a class="mui-tab-item1 <?php if($controllerName=='lottery'): ?>mui-active<?php endif; ?> " href="<?php echo url('lottery/index'); ?>">
        <?php if($controllerName=='lottery'): ?>
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_02b.png"/></span>
        <?php else: ?>
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_02.png"/></span>
        <?php endif; ?>
        <span class="mui-tab-label">开奖</span>
    </a>
    <a class="mui-tab-item1 <?php if($controllerName=='notice'): ?>mui-active<?php endif; ?>" href="<?php echo url('notice/index'); ?>">
        <?php if($controllerName=='notice'): ?>
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_03b.png"/></span>
        <?php else: ?>
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_03.png"/></span>
        <?php endif; ?>
        <span class="mui-tab-label">公告</span>
    </a>
    <a class="mui-tab-item1 <?php if($controllerName=='recharge'): ?>mui-active<?php endif; ?> " href="<?php echo url('recharge/index'); ?>">
        <?php if($controllerName=='recharge'): ?>
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_04b.png"/></span>
        <?php else: ?>
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_04.png"/></span>
        <?php endif; ?>
        <span class="mui-tab-label">充值</span>
    </a>
    <a class="mui-tab-item1 <?php if($controllerName=='mine'): ?>mui-active<?php endif; ?>" href="<?php echo url('mine/index'); ?>">
        <?php if($controllerName=='mine'): ?>
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_05b.png"/></span>
        <?php else: ?>
        <span class="mui-icon"><img class="width_100" src="__IMG__/icon_05.png"/></span>
        <?php endif; ?>
        <span class="mui-tab-label">我的</span>
    </a>
</nav>
		<div class="mui-content">
		    <ul id="list" class="mui-table-view mui-table-view-chevron">
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right" href="<?php echo url('mine/personal'); ?>">
						<dl class="clearfix">
							<dt class="left user_box">
								<img class="width_100" src="<?php echo (isset($data['head']) && ($data['head'] !== '')?$data['head']:'__IMG__/user_head.png'); ?>" alt="" style="border-radius: 50%"/>
							</dt>
							<dd class="left padding_5">
								<h4><?php echo $data['nickname']; ?></h4>
								<h5 class="mg_top10">账号：<?php echo $data['mobile']; ?></h5>
							</dd>
						</dl>
					</a>
				</li>
			</ul>	
			<ul class="clearfix mine_box2 bg_ff bor_b mg_top10">
				<li>
					<h3 class="blue"><?php echo $data['money']; ?></h3>
					<h5 class="mg_top10">余额</h5>
				</li>
				<li>
					<a href="<?php echo url('mine/back_record'); ?>">
					<h3 class="blue"><?php echo $data['back_money']; ?></h3>
					<h5 class="mg_top10">回水</h5>
					</a>
				</li>
			</ul>
			<div class="bg_ff text-center padding_10 clearfix">
				<a href="<?php echo url('mine/withdraw'); ?>" class="withdraw_a left">提现</a>
				<a href="<?php echo url('mine/quota'); ?>" class="withdraw_a right">额度转换</a>
			</div>
			 <ul class="mui-table-view mui-table-view-chevron mg_top20">
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right" href="<?php echo url('mine/transaction_record'); ?>">
						<i class="icon_box"><img src="__IMG__/icon_p01.png"/></i>交易记录
					</a>
				</li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right" href="<?php echo url('mine/statistics_record'); ?>">
						<i class="icon_box"><img src="__IMG__/icon_p02.png"/></i>统计记录
					</a>
				</li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right" href="<?php echo url('mine/recharge_record'); ?>">
						<i class="icon_box" ><img src="__IMG__/icon_p03.png"/></i>充值记录
					</a>
				</li>
			</ul>
			<ul class="mui-table-view mui-table-view-chevron mg_top20">
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right" href="<?php echo url('mine/promotion'); ?>">
						<i class="icon_box"><img src="__IMG__/icon_p04.png"/></i>我的推广
					</a>
				</li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right" href="<?php echo url('mine/service'); ?>">
						<i class="icon_box"><img src="__IMG__/icon_p05.png"/></i>联系客服
					</a>
				</li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right" href="<?php echo url('mine/setting'); ?>">
						<i class="icon_box"><img src="__IMG__/icon_p06.png"/></i>设置
					</a>
				</li>
			</ul>	
			<div class="text-center">
				<a  href="<?php echo url('login/logout'); ?>" class="quit_a">退出登录</a>
			</div>
		</div>
	</body>
</html>
